#coding=utf-8
'''
Created on 2017-7-15

@author: sandy
'''

class HallBase(object):
    
    def __init__(self):
        pass
    
    def getId(self):
        assert False, "getId() is not implemented"
        return -1
    
    def getLevel(self):
        assert False, "getLevel() is not implemented"
        return -1        
    
    def getType(self):
        assert False, "getType() is not implemented"
        return u""
    
    def getParam(self, k):
        assert False, "getParam() is not implemented"
        return None
    
    def getMinMoney(self):
        assert False, "getMinMoney() is not implemented"
        return 0
    
    def getMaxMoney(self):
        assert False, "getMaxMoney() is not implemented" 
        return 0  
    
    def userEnter(self, user):
        assert False, "userEnter() is not implemented"
        return False
    
    def userLeave(self, user, reason):
        assert False, "userLeave() is not implemented"
    
    def isFull(self):
        assert False, "isFull() is not implemented"
        return True
    
    def getUserCount(self):
        assert False, "getUserCount() is not implemented"
        return 0
    
    def parsePacket(self, user, cmd, pkt):
        assert False, "parsePacket() is not implemented"
        return False
    
    def getHallInfo(self):
        assert False, "getHallInfo() is not implemented"
        return None
    
    def broadcastGameMsg(self, pkt):
        assert False, "broadcastGameMsg() is not implemented"            

if __name__ == '__main__':
    pass
